package polymorphicdemo;

public class Dog extends Animal {
    public Dog(int age, String color) {
        super(age, color);
    }
    public Dog() {
        watchHouse();
    }
    public void watchHouse() {
        System.out.println("狗看家");
    }
}
